package com.zhl.common.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
 * @description 邮件发送服务端参数配置
 * @Author: z156940l@outlook.com
 * @className EmailServiceProperties
 * @Date: 2024/7/20 23:15
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.mail")
public class EmailServiceProperties {

    private String host;
    private int port;
    private String username;
    private String password;
    private String protocol;
    private String defaultEncoding;
}
